import React from 'react'
import HomeUi from '../ui/HomeUi'

import useSelected from './useSelected'
import useChecked from './useChecked'

function Home() {
  let { selected, handlePress } = useSelected()
  let { checked } = useChecked()

  return (
    <HomeUi
      selected={selected}
      onTabPress={handlePress}
      checked={checked}
    ></HomeUi>
  )
}

export default Home
